<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<div id="app">
    <p v-show="rich">
        有钱！
    </p>
    我是中间线
    <p v-if="rich">
        有钱！
    </p>
    <button  type="button" @click="rich=!rich">今晚彩票开奖</button>
</div>

</body>
<script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>
<script>

    new Vue({

        el: '#app',
        data: {
            flag: false,
            rich: false
        },
        methods: {}
    });


</script>
</html>